package com.e3.web.widget.client;

import java.util.Date;

import com.extjs.gxt.ui.client.widget.form.DateField;

public class MyDateField extends DateField implements MyField<Date>{
	
	private boolean isHide = false;

	public Date getFieldValue() {
		return this.getValue();
	}

	public void setFieldValue(Object value) {
		this.setFormatValue(true);
		this.setValue((Date)value);
	}

	@Override
	public void hide() {
		isHide = true;
		super.hide();
	}

	public boolean isHide() {
		return isHide;
	}
}
